package com.example.xxpk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangguihong
 * @since 2025-02-13
 */
@Getter
@Setter
@TableName("user_props")
@ApiModel(value = "UserProps对象", description = "")
public class UserProps implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户道具记录")
    @TableId(value = "user_props_id", type = IdType.AUTO)
    private Integer userPropsId;

    @ApiModelProperty("用户 ID")
    private Integer userId;

    @ApiModelProperty("道具 ID")
    private Integer propsId;

    @ApiModelProperty("当前道具等级")
    private Integer currentLv;

    @ApiModelProperty("拥有数量")
    private Integer propsCount;

    @ApiModelProperty("最新获得时间")
    private LocalDateTime newTime;

    @ApiModelProperty("创建该记录的时间")
    private LocalDateTime createTime;
}
